package com.tuxing.draa_data.dao.subject;

import com.tuxing.draa_data.pojo.subject.NewDcScoupsSubAttr;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * scoups学科属性表 Mapper 接口
 * </p>
 *
 * @author yuanshihang
 * @since 2021-12-27
 */
@Repository
public interface NewDcScoupsSubAttrDao extends BaseMapper<NewDcScoupsSubAttr> {

    /**
     * @param recordId 期刊ID
     * @param vYear    年份
     * @return 数量
     * @decpription 查询年份数量
     * @author yuanshihang
     * @date 2021/12/28 10:16
     * @version 1.0
     */
    Integer findCountByRecordIdYear(@Param("recordId") Long recordId, @Param("vYear") Integer vYear);

}
